package com.sc.nft.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sc.nft.dto.UserCollectionConsensusVO;
import com.sc.nft.entity.UserCollectionConsensus;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户生态共识度表(sc_user_collection_consensus)数据Mapper
 *
 * @author zxy
 * @since 2024-09-11 14:15:00
 * @description 由 Mybatisplus Code Generator 创建
*/
@Mapper
public interface UserCollectionConsensusMapper extends BaseMapper<UserCollectionConsensus> {


    Page<UserCollectionConsensusVO> getUserConsensusPage(Page page,@Param("userId") Long userId);


    List<UserCollectionConsensus> synchronousConsensusDegreeList();
}
